package com.windaka.elements.constant;


/**
 * <p><strong>全局的静态变量</strong></p>
 * <p>制定规范 统一定义 统一管理</p>
 * <li>
 * <p>
 *     <strong>示例1: Constant.DEFAULT_MAP_NUM</strong><br>
 * </p>
 * </li>
 * @author song
 * @see Constant
 * @since 11:22 2021/7/30
 **/
public class Constant {

    private Constant() {}

    /**
     * 分页的page
     **/
    public static final int DEFAULT_PAGE = 1;

    /**
     * 分页的limit
     **/
    public static final int DEFAULT_LIMIT = 5;

    /**
     * 方法返回 添加成功
    **/
    public static final String DEFAULT_ADD_SUCCESS = "添加成功";

    /**
     * 方法返回 更新成功
     **/
    public static final String DEFAULT_UPDATE_SUCCESS = "更新成功";

    /**
     * 方法返回 删除成功
     **/
    public static final String DEFAULT_DELETE_SUCCESS = "删除成功";

    /**
     * 一分钟 long
    **/
    public static final long ONE_MINUTE = 60000;

    /**
     * 半小时 long
     **/
    public static final long HALF_HOUR = 1800000;

    /**
     * 一小时 long
     **/
    public static final long ONE_HOUR = 3600000;

    /**
     * 一天 long
     */
    public static final long ONE_DAY = 86400000;

    /**
     * 一周 long
     */
    public static final long ONE_WEEK = 604800000;

    /**
     * 一年月数 int
     */
    public static final int ONE_YEAR_MONTHS = 12;

}
